package com.ruoyi.basebill.service;

import java.util.List;

import com.ruoyi.basebill.domain.OmsSumsaleissuebill;

/**
 * 汇总销售出库单Service接口
 * 
 * @author wenyixiong
 * @date 2023-02-18
 */
public interface IOmsSumsaleissuebillService 
{
    /**
     * 查询汇总销售出库单
     * 
     * @param id 汇总销售出库单主键
     * @return 汇总销售出库单
     */
    public OmsSumsaleissuebill selectOmsSumsaleissuebillById(Long id);

    /**
     * 查询汇总销售出库单列表
     * 
     * @param omsSumsaleissuebill 汇总销售出库单
     * @return 汇总销售出库单集合
     */
    public List<OmsSumsaleissuebill> selectOmsSumsaleissuebillList(OmsSumsaleissuebill omsSumsaleissuebill);


    public List<OmsSumsaleissuebill> selectOmsSumsaleissuebillDetailList(OmsSumsaleissuebill omsSumsaleissuebill);
    /**
     * 新增汇总销售出库单
     * 
     * @param omsSumsaleissuebill 汇总销售出库单
     * @return 结果
     */
    public int insertOmsSumsaleissuebill(OmsSumsaleissuebill omsSumsaleissuebill);

    /**
     * 修改汇总销售出库单
     * 
     * @param omsSumsaleissuebill 汇总销售出库单
     * @return 结果
     */
    public int updateOmsSumsaleissuebill(OmsSumsaleissuebill omsSumsaleissuebill);

    /**
     * 批量删除汇总销售出库单
     * 
     * @param ids 需要删除的汇总销售出库单主键集合
     * @return 结果
     */
    public int deleteOmsSumsaleissuebillByIds(Long[] ids);

    /**
     * 删除汇总销售出库单信息
     * 
     * @param id 汇总销售出库单主键
     * @return 结果
     */
    public int deleteOmsSumsaleissuebillById(Long id);

    /**
     * 查询是否推送过EAS的汇总销售出库单数据
     * @param isTrans
     * @return
     */
    public List<OmsSumsaleissuebill> selectPushEASSumSaleissuebillList(int isTrans);
}
